package com.zhb.designmode.structure.agency.staticc;

public class Test {

    public static void main(String[] args) {
        //顾客
        Target target = new TargetClient();
        //中介，传入一个顾客参数
        Agency agency = new Agency(target);
        //由中介去完成买房
        agency.buyHouse();
    }

}
